import cv2
import numpy as np

def main(a='image0.jpg'):
    img = cv2.imread(a, 1)
    imgInfo = img.shape
    height = imgInfo[0]
    width = imgInfo[1]
    mode = imgInfo[2]

    dst = np.zeros(imgInfo, np.uint8)

    for i in range(height):
        for j in range(width - 100):
            dst[i, j + 100] = img[i, j]

    cv2.imshow('image', dst)
    cv2.waitKey(0)


if __name__ == "__main":
    main()